package IDao;

import org.apache.ibatis.annotations.Param;
import pojo.Base;
import pojo.BaseKey;

import java.util.List;

public interface BaseMapper {


    int deleteByPrimaryKey(BaseKey key);

    int deleteAll();

    int insert(Base record);

    int insertBatch(@Param("baseList") List<Base> baseList);

    int insertSelective(Base record);

    Base selectByPrimaryKey(BaseKey key);

    List<Base> selectBySampleName(String sampleName);

    List<Base> selectByBaseId(String baseId);

    int updateByPrimaryKeySelective(Base record);

    int updateByPrimaryKey(Base record);
}